<?php
    date_default_timezone_set("Asia/shanghai");
    include_once 'Smarty.class.php';
    
class smarty_setup extends Smarty
{
    public function __construct() 
    {
        parent::__construct();
        $this->caching = FALSE;
        $this->setTemplateDir(dirname(__FILE__)."/templates");
        $this->setCompileDir(dirname(__FILE__)."/templates_c");
        $this->setCacheDir(dirname(__FILE__)."/cache");
    }
}
?>